import {get} from "../utils/request.js";

export const loginApi = {
    // 获取手机验证码
    getMsg: (params) => {
      return get('/a_msg/a_phonemsg-getMsg/index.html', params);
  },
  // 登录
  login:(params)=>{
    return get('/a_user/a_login-loginByMsg/index.html', params);
  },
  // 二维码
   getQrCode: (params) => {
      return get('/a_wx/a_wxlogin-getLoginPic/index.html', params);
   },
  //  二维码检查登录状态
  checkLoginStatus: (params) => {
    return get('/a_user/a_login-loginByWx/index.html', params);
  },
  // 账号密码登录
  loginByAccount: (params) => {
    return get('/a_user/a_login-loginByPwd/index.html', params);
  }
} 